#include "include.h"

#define GL_START_SIZE 256   // Initial buffer size allocated for getLongLine()

// Print errorMessage and exit
void dieWithError(const char* errorMessage);

// Reads input from stdin
//  *line holds the string input by user
//  *size holds size of the string
// Return value less than 0 indicates error.
// Algorithm credited to Richard Heathfield.
int getLongLine(char **line, size_t *size);

